const mongoose = require('./mongoose.js');

var Schema = mongoose.Schema;
var userSchema = new Schema({
	phone: String,
	password: String,
	head_img: String,
	name: String,
	birthday: String,
	aim: String,
	wechat: String,
	QQ: String
});

var UserSchema = mongoose.model('User', userSchema);

module.exports = UserSchema;